//
//  CJStrictSeletedCollectionViewCell.m
//  Boss
//
//  Created by admin on 2018/9/10.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "CJStrictSeletedCollectionViewCell.h"
@interface CJStrictSeletedCollectionViewCell()

@property (strong, nonatomic) IBOutlet UIImageView *backgroundImaggeView;
@property (strong, nonatomic) IBOutlet UILabel *moneyLabel;
@property (strong, nonatomic) IBOutlet UILabel *shareCount;


@end
@implementation CJStrictSeletedCollectionViewCell
-(void)setChannel:(CJBOSSChannel *)channel
{
    _channel = channel;
    [self.backgroundImaggeView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@!default",channel.url]] placeholderImage:nil];
    self.moneyLabel.text = [NSString stringWithFormat:@"共享佣金 ：¥%@",channel.balanceMoney];
    self.shareCount.text = channel.forwardNum;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
